package cn.ssq.dao;

import cn.ssq.domain.CropCategory;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CropCategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CropCategory record);

    int insertSelective(CropCategory record);

    CropCategory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CropCategory record);

    int updateByPrimaryKey(CropCategory record);
    List<CropCategory> findByCropCategory();
    int selectByCropCategory(String cropCategory);
}